package com.example.pkmedical.DB;


import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;

@Table(database = AppDatabase.class)
public class WeightData extends BaseModel {

    @PrimaryKey(autoincrement = true) //ID自增
    public long id;

    /**
     * 日期
     */
    @Column
    public String date;

    /**
     * 体重
     */
    @Column
    public float weight;
}
